@import "../util.styl"

.base-info
  padding px2rem(10px) px2rem(15 rpx)

  .logo
    width 42%

  .service-phone
    justify-content flex-end

    .phone-icon
      width px2rem(24px)
      margin-right px2rem(5px)

    .phone-desc
      font-size px2rem(15px)
      font-weight bold

    .phone
      font-size px2rem(20px)
      font-style italic
      color $lightColor
      font-weight bold
      line-height 1


.banner
  position relative

  .search
    position absolute
    left 0
    bottom 0
    background-color rgba($lightColor, 0.7)
    width 100%
    padding px2rem(10px) px2rem(15px)

    .search-icon
      color #ffcb04

.category
  padding px2rem(20px) px2rem(6px) 0

//商品
.module-head
  text-align center
  height px2rem(45px)
  position relative
  background-color #fff
  margin-top px2rem(10px)

  .module-head-hotsale
    display inline-block
    width px2rem(117px)
    height px2rem(23px)
    background url('http://weixin.gzl.cn/static/css/images/mobileImages/homepage-common.png') no-repeat px2rem(-83px) px2rem(-50px)
    background-size px2rem(400px)
    position absolute
    top 30%
    left 1px
    right 1px
    margin auto

.new-recommend-list

  ul
    overflow hidden
    padding 0 px2rem(5px)

    li
      padding 0 px2rem(5px) px2rem(10px)
      position relative
      .c-tag
        padding 0 px2rem(8px)
        height px2rem(16px)
        line-height px2rem(16px)
        background-image -webkit-linear-gradient(0deg, #fff062, #ffdd33)
        background-image linear-gradient(90deg, #fff062, #ffdd33)
        font-size px2rem(12px)
        color #333
        position absolute
        top 0
        left 0
        z-index 8
        border-radius 0 0 px2rem(20px) 0
      .nr-imgbox
        height px2rem(140px)
        img
          object-fit cover
          width 100%
          height 100%
      .nr-infobox
        padding  px2rem(10px) px2rem(10px) 0
        .nr-name
          line-clamp(2)
          font-size px2rem(14px)
          color #333
      .nr-count
        padding  px2rem(10px)
        .nr-count-price
          font-size px2rem(12px)
          color #333
          >span
            font-weight bold
            font-size px2rem(16px)


